package cc.linker.steplink.crm.merchanth5.service.impl;

import cc.linker.steplink.crm.merchanth5.dao.acs.AgentOperateGoodsDao;
import cc.linker.steplink.crm.merchanth5.service.acs.AgentOperateGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class AgentOperateGoodsServiceImpl implements AgentOperateGoodsService {

    @Autowired
    private AgentOperateGoodsDao agentOperateGoodsDao;

    @Override
    public void addGoods(Map map) {
        agentOperateGoodsDao.addGoods(map);
    }

    @Override
    public String checkCustomerType(String customerId) {
        return agentOperateGoodsDao.checkCustomerType(customerId);
    }

    @Override
    public int checkIsAdd(Map map) {
        return agentOperateGoodsDao.checkIsAdd(map);
    }

    @Override
    public void changeRemoveStatus(Map<String, Object> map) {
        agentOperateGoodsDao.changeRemoveStatus(map);
    }

    @Override
    public void shelfGoods(Map param) {
        agentOperateGoodsDao.shelfGoods(param);
    }
}
